package com.ssy.lingxi.order.model.vo.buyer.request;

import com.ssy.lingxi.order.handler.annotation.OrderIdsAnnotation;
import com.ssy.lingxi.order.model.vo.basic.request.OrderIdVO;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;
import java.util.List;

/**
 * 查询（合并）支付结果接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2021-08-19
 */
public class BuyerMergePayResultVO implements Serializable {
    private static final long serialVersionUID = 7320955176578010893L;

    /**
     * 订单Id列表
     */
    @NotEmpty(message = "订单Id列表不能为空")
    @OrderIdsAnnotation
    private List<Long> orderIds;

    /**
     * 支付次数
     */
    @NotNull(message = "支付次数要大于0")
    @Positive(message = "支付次数要大于0")
    private Integer batchNo;

    public List<Long> getOrderIds() {
        return orderIds;
    }

    public void setOrderIds(List<Long> orderIds) {
        this.orderIds = orderIds;
    }

    public Integer getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(Integer batchNo) {
        this.batchNo = batchNo;
    }
}
